package com.yonyou.brigade.third_parties.hcholiday.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.yonyou.brigade.third_parties.common.model.ThirdUser;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author kangfw5@yonyou.com
 * @since 2019-06-19
 */
@TableName("hc_holiday_user")
public class HcHolidayUser extends Model<HcHolidayUser> implements ThirdUser {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户userId
     */
    @TableField("user_id")
    private String userId;
    /**
     * 租户ID
     */
    private String tenant;
    /**
     * 组织信息
     */
    private String org;
    /**
     * 商户编码（花城提供）
     */
    private String cuicode;
    /**
     * 员工编号
     */
    @TableField("wcode_src")
    private String wcodeSrc;
    /**
     * 状态（10：制单 ;70 :生效）
     */
    private String status;
    /**
     * 人员名称
     */
    private String wname;
    /**
     * 简称
     */
    private String shortcode;
    /**
     * 职级
     */
    private String rank;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 邮箱
     */
    private String email;
    /**
     * QQ号码
     */
    private String qq;
    /**
     * 微信号
     */
    private String weixin;
    /**
     * 中文姓
     */
    private String fname;
    /**
     * 中文名
     */
    private String lname;
    /**
     * 中文姓名
     */
    private String name;
    /**
     * 英文姓
     */
    private String enfname;
    /**
     * 英文名
     */
    private String enlname;
    /**
     * 英文姓名
     */
    private String enname;
    /**
     * 性别（1：男 ;2: 女）
     */
    private String sex;
    /**
     * 出生日期（yyyy-MM-dd）
     */
    private String birthdate;
    /**
     * 国家/地区（参照国别地区码表）
     */
    private String ncode;
    /**
     * 出行人类型（1：婴儿；2：儿童；3：成人；4：伤残军人）
     */
    private String travelertype;
    /**
     * 证件类型(1：身份证2：护照3：军官证4：回乡证5：台胞证6：港澳通行证99：其他)
     */
    private String cardtype;
    /**
     * 证件号
     */
    private String cardnum;
    /**
     * 该条记录创建时间
     */
    @TableField("create_time")
    private Date createTime;
    private Date ts;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public String getOrg() {
        return org;
    }

    public void setOrg(String org) {
        this.org = org;
    }

    public String getCuicode() {
        return cuicode;
    }

    public void setCuicode(String cuicode) {
        this.cuicode = cuicode;
    }

    public String getWcodeSrc() {
        return wcodeSrc;
    }

    public void setWcodeSrc(String wcodeSrc) {
        this.wcodeSrc = wcodeSrc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getWname() {
        return wname;
    }

    public void setWname(String wname) {
        this.wname = wname;
    }

    public String getShortcode() {
        return shortcode;
    }

    public void setShortcode(String shortcode) {
        this.shortcode = shortcode;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnfname() {
        return enfname;
    }

    public void setEnfname(String enfname) {
        this.enfname = enfname;
    }

    public String getEnlname() {
        return enlname;
    }

    public void setEnlname(String enlname) {
        this.enlname = enlname;
    }

    public String getEnname() {
        return enname;
    }

    public void setEnname(String enname) {
        this.enname = enname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(String birthdate) {
        this.birthdate = birthdate;
    }

    public String getNcode() {
        return ncode;
    }

    public void setNcode(String ncode) {
        this.ncode = ncode;
    }

    public String getTravelertype() {
        return travelertype;
    }

    public void setTravelertype(String travelertype) {
        this.travelertype = travelertype;
    }

    public String getCardtype() {
        return cardtype;
    }

    public void setCardtype(String cardtype) {
        this.cardtype = cardtype;
    }

    public String getCardnum() {
        return cardnum;
    }

    public void setCardnum(String cardnum) {
        this.cardnum = cardnum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String USER_ID = "user_id";

    public static final String TENANT = "tenant";

    public static final String ORG = "org";

    public static final String CUICODE = "cuicode";

    public static final String WCODE_SRC = "wcode_src";

    public static final String STATUS = "status";

    public static final String WNAME = "wname";

    public static final String SHORTCODE = "shortcode";

    public static final String RANK = "rank";

    public static final String MOBILE = "mobile";

    public static final String EMAIL = "email";

    public static final String QQ = "qq";

    public static final String WEIXIN = "weixin";

    public static final String FNAME = "fname";

    public static final String LNAME = "lname";

    public static final String NAME = "name";

    public static final String ENFNAME = "enfname";

    public static final String ENLNAME = "enlname";

    public static final String ENNAME = "enname";

    public static final String SEX = "sex";

    public static final String BIRTHDATE = "birthdate";

    public static final String NCODE = "ncode";

    public static final String TRAVELERTYPE = "travelertype";

    public static final String CARDTYPE = "cardtype";

    public static final String CARDNUM = "cardnum";

    public static final String CREATE_TIME = "create_time";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HcHolidayUser{" +
                "id=" + id +
                ", userId=" + userId +
                ", tenant=" + tenant +
                ", org=" + org +
                ", cuicode=" + cuicode +
                ", wcodeSrc=" + wcodeSrc +
                ", status=" + status +
                ", wname=" + wname +
                ", shortcode=" + shortcode +
                ", rank=" + rank +
                ", mobile=" + mobile +
                ", email=" + email +
                ", qq=" + qq +
                ", weixin=" + weixin +
                ", fname=" + fname +
                ", lname=" + lname +
                ", name=" + name +
                ", enfname=" + enfname +
                ", enlname=" + enlname +
                ", enname=" + enname +
                ", sex=" + sex +
                ", birthdate=" + birthdate +
                ", ncode=" + ncode +
                ", travelertype=" + travelertype +
                ", cardtype=" + cardtype +
                ", cardnum=" + cardnum +
                ", createTime=" + createTime +
                ", ts=" + ts +
                "}";
    }
}
